<template>
  <div class="com">
    我是父组件
    <!-- 3.使用组件 -->
    <SonLocal />
    <SonGlobal />
  </div>
</template>

<script>
//1.引入组件
import SonLocal from './SonLocalComponent.vue'
export default {
  //2.注册组件
  components: {
    SonLocal,
  },
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
}
</script>

<style scoped>
.com {
  color: pink;
}
</style>
